#ifndef _io_SEvent_ROOT_h_
#define _io_SEvent_ROOT_h_

#include <TObject.h>


namespace sevt {
  class SEvent;
}

namespace io {

  /**
     Persistent SEvent using ROOT
     \author T. Paul
     \version $Id: SEvent_ROOT.h,v 1.6 2005/11/20 21:05:46 ulrich Exp $
  */


  class sevtHeader_ROOT;
  class EventTrigger_ROOT;

  class SEvent_ROOT : public TObject {

  public:
    SEvent_ROOT();

    SEvent_ROOT(const sevt::SEvent* const sevent);

    ~SEvent_ROOT();

    int Fill(sevt::SEvent* const sevent) const;

  private:
    TObjArray* fStations;
    sevtHeader_ROOT* fHeader;
    EventTrigger_ROOT* fEventTrigger;

    ClassDef(SEvent_ROOT, 4);

  };

}

#endif


// Configure (x)emacs for this file ...
// Local Variables:
// mode: c++
// End:
